﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using OnlineHelpDesk.BLL_Service;

namespace OnlineHelpDesk.Admin
{
    public partial class UserManagement : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Service1 S = new Service1();
                aspxGrvShowAcc.DataSource = S.ShowAllUser();
                aspxGrvShowAcc.DataBind();
            }
        }

        protected void btnCreateAcc_Click(object sender, EventArgs e)
        {
            Response.Redirect("AdminCreateAccount.aspx");
        }
    }
}